* {
    margin: 0;
    padding: 0;
}

.w {
    width: 1200px;
    margin: auto;
}

li {
    list-style: none;
}

.header {
    height: 42px;
    /* background-color: pink; */
    /* 注意此地方会层叠 w 里面的margin */
    margin: 30px auto;
}

.logo {
    float: left;
    width: 198px;
    height: 42px;
}

.nav {
    float: left;
    margin-left: 60px;
}

.nav ul li {
    float: left;
    margin: 0 15px;
}

.nav ul li a {
    display: block;
    height: 42px;
    padding: 0 10px;
    line-height: 42px;
    font-size: 18px;
    color: #050505;
    text-decoration: none;
}

.nav ul li a:hover {
    border-bottom: 2px solid #00a4ff;
    color: #00a4ff;
}

/* search搜索模块 */
.search {
    float: left;
    width: 412px;
    height: 42px;
    margin-left: 70px;
}

.search input {
    float: left;
    width: 345px;
    height: 40px;
    border: 1px solid #00a4ff;
    border-right: 0;
    color: #bfbfbf;
    font-size: 14px;
    padding-left: 15px;
}

.search button {
    float: left;
    width: 50px;
    height: 42px;
    /* 按钮button默认有个边框需要我们手动去掉 */
    border: 0;
    background: url(/Users/apple/前端/CSS/学成在线/image/btn.png);
}

.user {
    float: right;
    line-height: 42px;
    margin-right: 30px;
    font-size: 14px;
    color: #666;
}

.banner {
    height: 421px;
    background-color: #1c036c;
}

.banner .w {
    height: 421px;
    background-image: url(/Users/apple/前端/CSS/学成在线/image/banner2.png);
}

.subnav {
    float: left;
    height: 421px;
    width: 190px;
    background: rgba(0, 0, 0, 0.3);
}

.subnav ul li a {
    color: aliceblue;
    text-decoration: none;
}

.subnav ul li {
    height: 45px;
    line-height: 45px;
    padding: 0 20px;
}

.subnav ul li a span {
    float: right;
}

.subnav ul li a:hover {
    color: #00a4ff;
}

.course {
    float: right;
    height: 300px;
    width: 230px;
    background-color: #ffffff;
    margin-top: 50px;
    margin-bottom: 70px;
}

.course .div1 {
    height: 48px;
    width: 230px;
    background-color: rgb(169, 204, 244);
    color: #ffffff;
    font-size: 18px;
    text-align: center;
    line-height: 48px;
}

.div2 {
    padding: 0 20px;
}

.div2 ul li {
    padding: 14px 0;
    border-bottom: 1px solid #ccc;
}

.div2 ul li h4 {
    font-size: 16px;
    line-height: 20px;
    font-weight: 700;
    color: #4e4e4e;
    font-family: "FZLTCXHJW--GB1-0";
}

.div2 ul li p {
    font-size: 12px;
    line-height: 20px;
    font-weight: 700;
    color: #a5a5a5;
    font-family: "FZLTCXHJW--GB1-0";

}

.more {
    display: block;
    height: 28px;
    border: 1px solid #00a4ff;
    text-align: center;
    line-height: 28px;
    color: #00a4ff;
    font-size: 16px;
    font-weight: 700;
    margin-top: -5px;
    text-decoration: none;
}

.goods {
    height: 60px;
    background-color: #fff;
    margin-top: 10px;
    box-shadow: 0 2px 3px 3px rgba(0, 0, 0, 0.1);
}

.goods h3 {
    float: left;
    margin-left: 30px;
    font-size: 16px;
    color: #00a4ff;
    text-align: center;
    text-decoration: none;
    line-height: 60px;
}

.goods ul {
    float: left;
    margin-left: 30px;
}

.goods ul li {
    float: left;
}

.goods ul li a {
    padding: 0 30px;
    font-size: 16px;
    color: #050505;
    border-left: 1px solid #ccc;
    line-height: 60px;
    text-align: center;
    text-decoration: none;
}

.mod {
    float: right;
    margin-right: 26px;
    color: #00a4ff;
    font-size: 14px;
    line-height: 60px;
    text-decoration: none;
}

.box {
    height: 600px;
    background-color: #e1e1e1;
    margin-top: 30px;
}

.box .box-hd {
    height: 45px;
    background-color: #1c036c;
}

.box-hd .left {
    float: left;
    font-size: 20px;
    color: #494949;
    font-family: "MicrosoftYaHei";
}

.box-hd .right {
    float: right;
    font-size: 12px;
    font-family: "MicrosoftYaHei";
    color: #a5a5a5;
    margin-right: 30px;
    margin-top: 10px;
}

.box-bd ul {
    width: 1225px;
}

.box-bd ul li {
    float: left;
    height: 270px;
    width: 228px;
    background-color: #fff;
    margin-right: 15px;
    margin-bottom: 15px;
}

.box-bd ul li img {
    width: 100%;
}

.box-bd ul li h4 {
    margin: 20px 20px 20px 25px;
    font-size: 14px;
    font-family: "MicrosoftYaHei";
    line-height: 20px;
    color: #050505;
}

.box-bd .info {
    margin: 0 20px 0 25px;
    font-size: 12px;
    color: #606060;
    font-family: "MicrosoftYaHei";
}

.box-bd .info span {
    color: #ff7c2d;
    font-size: 12px;
    font-family: "MicrosoftYaHei";
}

.footer {
    height: 417px;
    background-color: #9f8585;
    margin-top: 40px;
}

.footer .w {
    padding-top: 33px;
}

.copywrite {
    float: left;
    margin-left: 10px;
}

.copywrite p {
    font-size: 12px;
    font-family: "SimSun";
    line-height: 18px;
    color: #666666;
    margin: 15px;
}

.copywrite .download-app {
    color: #00a4ff;
    border: 1px #00a4ff solid;
    text-align: center;
    line-height: 33px;
    height: 33px;
    width: 118px;
    margin: 15px;
}

.links {
    float: right;
}

.links dl {
    float: left;
    margin-left: 100px;
}

.links dl dt {
    font-size: 16px;
    color: #333333;
    font-family: "MicrosoftYaHei";
}

.links dl dd a {
    color: #333;
    font-size: 12px;
    text-decoration: none;
}